package com.evildog.workspace.system.application.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.evildog.workspace.common.object.PageQuery;
import com.evildog.workspace.common.result.PagedResult;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import com.evildog.workspace.system.application.bo.DictTypePageBO;
import com.evildog.workspace.system.application.dto.DictTypeDTO;
import com.evildog.workspace.system.application.dto.DictTypePageDTO;
import com.evildog.workspace.system.application.entity.DictType;

import java.util.List;

/**
 * <p>
 * dictType Service
 * </p>
 *
 * @author evildog
 * @since 2020-08-06
 */
public interface DictTypeService extends IService<DictType> {

    /**
    * 自定义分页
    */
    PagedResult<DictTypePageBO> getPageList(PageQuery query, List<QueryConditionDTO> queryConditions, DictTypePageDTO pageDTO);

    /**
    * 更新
    */
    boolean updateById(Long id, DictTypeDTO param);

    /**
    * 保存
    */
    boolean save(DictTypeDTO param);
}
